import { get } from "../request";

const picture = {
    userImgList(){
        return get('/pictures/userImgList')
    },
    getUserImg(userId){
        return get('/pictures/getUserImg',userId)
    },
    // 管理员
    queryByPage(pageDto){
        return post('/pictures/queryByPage',pageDto)
    },
    deleteById(picId){
        return get('/pictures/deleteById',picId)
    },
}

export default picture;